package org.flh.book.shop.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 描述：
 *
 * @author 花好月圆
 * @date 2020/11/19 13:42
 */
@Data
@ApiModel
public class BookStock {

    @ApiModelProperty(value = "主键id", example = "0")
    private Integer id;

    @ApiModelProperty(value = "书籍id", example = "0")
    private Integer bookId;

    @ApiModelProperty("书籍名称")
    private String name;

    @ApiModelProperty("书籍作者")
    private String author;

    @ApiModelProperty("建议零售价")
    private BigDecimal price;

    @ApiModelProperty(value = "数量", example = "0")
    private Integer quantity;
}
